﻿using System.ComponentModel.DataAnnotations;

namespace MVC系统mvc.Dto.Warehouse
{
    public class PickingAddDTO
    {
        /// <summary>
        /// 领料Id
        /// </summary>
        public int PickingId { get; set; }
        /// <summary>
        /// 领料编号
        /// </summary>
        public string? PickingNo { get; set; }
        /// <summary>
        /// 领料名称
        /// </summary>
        public string? PickingName { get; set; }
        /// <summary>
        /// 领料日期
        /// </summary>
        public DateTime? PickingDate { get; set; }
        /// <summary>
        /// 领料人
        /// </summary>
        public string? Picker { get; set; }
        /// <summary>
        /// 工单名称
        /// </summary>
        public string? TicketsName { get; set; }
        /// <summary>
        /// 工单编号
        /// </summary>
        public string? TicketsNo { get; set; }
        /// <summary>
        /// 任务编号
        /// </summary>
        public string? TaskNo { get; set; }
        /// <summary>
        /// 任务名称
        /// </summary>
        public string? TaskName { get; set; }
        /// <summary>
        /// 工艺路线
        /// </summary>
        public string? ProcessRouteName { get; set; }
        /// <summary>
        /// 工序名称
        /// </summary>
        public string? ProductionProcessesName { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int? PickingState { get; set; } = 1;//1：待出库  2：待审核  3：已审核
        /// <summary>
        /// 备注
        /// </summary>
        public string? PickingRemark { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreatedBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedDate { get; set; } = DateTime.Now;

        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdatedBy { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdatedDate { get; set; }

        /// <summary>
        /// 删除人
        /// </summary>
        public string? DeletedBy { get; set; }

        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DeletedDate { get; set; }

        /// <summary>
        /// 逻辑状态
        /// </summary>
        public bool IsDeleted { get; set; } = false;
    }
}
